package itbour.onetouchshow.bean;

/**
 * Created by Administrator on 2018/5/21.
 */

public class JcmSetNavButtonBean {

    /**
     * text : 明细记录
     * color : {"r":255,"g":255,"b":255}
     * hidden : 0
     * funcName : jcmSetNavButtonStyle
     * success : jcmManager.successCallbackPool["jcmSetNavButtonStyle"]
     */

    private String text;
    private ColorBean color;
    private int hidden;
    private String funcName;
    private String success;

    /**
     * 规则contentType= -1 为文字属性 content = 1.2.3.4.5 对应常用的图标
     */
    private int contentType = -1;

    public int getContentType() {
        return contentType;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public ColorBean getColor() {
        return color;
    }

    public void setColor(ColorBean color) {
        this.color = color;
    }

    public int getHidden() {
        return hidden;
    }

    public void setHidden(int hidden) {
        this.hidden = hidden;
    }

    public String getFuncName() {
        return funcName;
    }

    public void setFuncName(String funcName) {
        this.funcName = funcName;
    }

    public String getSuccess() {
        return success;
    }

    public void setSuccess(String success) {
        this.success = success;
    }

    public static class ColorBean {
        /**
         * r : 255
         * g : 255
         * b : 255
         */

        private int r;
        private int g;
        private int b;

        public int getR() {
            return r;
        }

        public void setR(int r) {
            this.r = r;
        }

        public int getG() {
            return g;
        }

        public void setG(int g) {
            this.g = g;
        }

        public int getB() {
            return b;
        }

        public void setB(int b) {
            this.b = b;
        }
    }
}
